package com.ebupt.migu.music.api.service;

import com.ebupt.migu.music.api.entity.CMSNoticeRequest;
import com.ebupt.migu.music.api.entity.CMSNoticeResponse;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/10/18
 */
public interface CMSNoticeService {
    /**
     * cms通知商户更新活动列表
     *
     * @param cmsNoticeRequest
     * @return
     */
    CMSNoticeResponse updateNotice(CMSNoticeRequest cmsNoticeRequest);

    /**
     * 执行定时任务获取最新活动列表
     */
    void doService();
}
